package ArrSort;

import java.util.Arrays;

/**
 * Created by User on 22/05/2014.
 */
public class ArrSort {
    //public static void arrSort(String[] args) {

        public static int[] sarr ( int[] k){

            for (int i = 0; i < k.length - 1; i++) {
                for (int j = i + 1; j < k.length; j++) {
                    if (k[i] > k[j]) {
                        int t = k[i];
                        k[i] = k[j];
                        k[j] = t;
                    }
                }

            }

            return k;
        }


    //}
}